package com.yic.module.device.controller.admin.inspectionPlanDevice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 巡检计划与设备关联 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InspectionPlanDeviceRespVO extends InspectionPlanDeviceBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;



    @Schema(description = "设备名称")
    private String name;

    @Schema(description = "设备编号")
    private String code;

    @Schema(description = "规格")
    private String spec;

    @Schema(description = "序列号")
    private String sn;

    @Schema(description = "MAC")
    private String mac;

    @Schema(description = "设备分类")
    private String categoryName;

    @Schema(description = "使用部门", example = "22243")
    private String deptName;

    @Schema(description = "工作中心", example = "4902")
    private String centerName;

    @Schema(description = "工厂", example = "4902")
    private String factoryName;

    @Schema(description = "管理人员")
    private String adminName;

    @Schema(description = "使用人员")
    private String userName;

}
